import { NestFactory } from '@nestjs/core';
import { Logger } from '@nestjs/common';

import { AppModule } from './app.module';

async function bootstrap() {
  const app = await NestFactory.create(AppModule);
  const PORT = 7800;
  await app.listen(PORT);
  Logger.log(`server is running at http://localhost:${PORT}`);
}

bootstrap();
